<template>
  <div>
    <el-checkbox-group v-model="model.cultureList" @change="handlerCheckBox">
      <el-checkbox label="10">研究生</el-checkbox>
      <el-checkbox label="20">大学本科</el-checkbox>
      <el-checkbox label="30">大学专科和专科学校</el-checkbox>
      <el-checkbox label="40">中等专业学校</el-checkbox>
      <el-checkbox label="47">技工学校</el-checkbox>
      <el-checkbox label="60">高中</el-checkbox>
      <el-checkbox label="70">初中</el-checkbox>
      <el-checkbox label="80">小学</el-checkbox>
      <el-checkbox label="90">文盲或半文盲</el-checkbox>
      <el-checkbox label="-99">不详</el-checkbox>
    </el-checkbox-group>
  </div>
</template>

<script>
export default {
  props: {
    model: {
      type: Object,
      default: () => {}
    }
  },
  data() {
    return {}
  },
  methods: {
    handlerCheckBox(value) {
      if (this.model.cultureList.length > 1) {
        this.model.cultureList.splice(0, 1)
      }
      // console.log(this.model.cultureList)
    }
  }
}
</script>
<style lang="scss" scoped></style>
